package com.demo.webflux.spring5core.mock;

import java.util.Map;

/**模拟HttpServletRequest
 * @author zhangsulei
 *
 */
public class HttpServletRequest {

	private String uri;
	private String contextPath;
	private Map<String, String[]> parameter;

	public HttpServletRequest(String uri, String contextPath, Map<String, String[]> parameter) {
		super();
		this.uri = uri;
		this.contextPath = contextPath;
		this.parameter = parameter;
	}

	public String getRequestURI() {
		return uri;
	}

	public String getContextPath() {
		return contextPath;
	}

	public Map<String, String[]> getParameterMap() {
		return parameter;
	}

}
